<template>
  <div v-if="show"  class="semptybox">
    <div><img src="/imgs/empty.png" class="empty"></div>
    <div class="fz16 mt20 fw c999">{{desc}}</div>
  </div>
</template>
<script setup>
   const props = defineProps({
      show:{
          type:Boolean,
          default:false
      },
      desc:{
          type:String,
          default:"暂无内容"
      },
      btnmsg:{
          type:String,
          default:"看看别的"
      },
      url:{
          type:String,
          default:"/"
      },
    })
</script>
<style scoped>
.semptybox{
  padding:180px 0;
  text-align: center;
}
.semptybox .empty {
  display: inline-block;
  width: 190px;
}
</style>